DIR = File.dirname(__FILE__)
SOURCE_TREE_ROOT_DIR = File.join(DIR, '..', '..')

desc "Update pot/po files with static content."
task :updatepo => [:environment] do
  require 'gettext_rails/tools'
  GetText.update_pofiles("mbds", Dir.glob("{app,lib,bin}/**/*.{rb,erb,rjs}"), "mbds 1.0.0")
end

desc "Create mo-files"
task :makemo do
  require 'gettext_rails/tools'
  GetText.create_mofiles
end





